package com.xxxx.server.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: QiuXuechen
 * @Date: 2021/8/17 21:53
 */
@RestController
public class HelloController {
    @PostMapping("/hello")
    public String hello(){
        return "hello";
    }

    @GetMapping("/employee/basic/hello")
    public String hello1(){
        return "/employee/basic/hello";
    }

    @GetMapping("/employee/advanced/123")
    public String hello2(){
        return "/employee/advanced/hello";
    }
}
